﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Demo_03_05_2011
{
    public partial class Form3 : Form
    {
        public Form3()
        {
            InitializeComponent();
        }

        private void btnTinh_Click(object sender, EventArgs e)
        {
            //Lay a, b
            int a = int.Parse(txtSoA.Text);
            int b = int.Parse(txtSoB.Text);
            int tong = a + b;
            this.lblKetqua.Text = "Tong la "+ tong.ToString();

        }
    }
}
